package com.hp.easyBuy.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.hp.easyBuy.entity.TCart;
import com.hp.easyBuy.entity.DTO.TCartDto;
import com.hp.easyBuy.entity.TOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CartDao extends BaseMapper<TCart> {
    public List<TCartDto> queryAllCart(@Param(Constants.WRAPPER) QueryWrapper<TCartDto> queryWrapper);

        //获取购物车里面的商品信息
    public List<TCartDto> getList(@Param(Constants.WRAPPER) QueryWrapper<TCartDto> queryWrapper);

}
